
function LoginOut() {
    /**
     * 注销登录
     */
    $.ajax({
        url: `${API}/auth/logout`,
        type: "post",
        dataType: "json",
        xhrFields: {withCredentials: true},
        success: function () {
            alert("退出成功！");
            window.location = `${Url}`;
        }
    });
}